/*
	Twitch
	Please leave credits to the origional devs where its due if edited.
*/

include('shared.lua')

ENT.Sprite = Material("sprites/glow04_noz")

function ENT:Draw()
	local Tab = GAMEMODE:GetProjectile(self:GetProjectile())
	if type(Tab) == "function" then
		return Tab.Draw(self)
	else
		return self:DefaultDraw()
	end
end

function ENT:DefaultDraw()
	render.SetMaterial(self.Sprite)
	render.DrawSprite(self:GetPos()+(self:GetVelocity()/2)*(0*-0.01),16,16,Color(255,180,255,255))
end
